﻿using System;
using System.Windows.Navigation;

namespace UltimateNavigationFramework.UriNavigation
{
    /// <summary>
    /// Journal Navigation Event Args
    /// </summary>
    public sealed class UltimateNavigationJournalEventArgs : EventArgs
    {
        public string Name { get; private set; }

        public Uri Uri { get; private set; }

        public NavigationMode NavigationMode { get; private set; }

        public UltimateNavigationJournalEventArgs(string name, Uri uri, NavigationMode mode)
        {
            if (uri == null)
                throw new ArgumentNullException("uri");

            this.Name = name;
            this.Uri = uri;
            this.NavigationMode = mode;
        }
    }
}
